SIZE

Section: Misc. Reference Manual Pages (3T)
Updated: December 16, 1991
Index Return to Main Contents
 

NAME

TIFFScanlineSize, TIFFStripSize, TIFFTileSize - return the size (in bytes) of a scanline, strip, or tile for an open TIFF file  

SYNOPSIS

#include <tiffio.h>
int TIFFScanlineSize(TIFF* tif)
u_long TIFFStripSize(TIFF* tif)
u_long TIFFTileSize(TIFF* tif)  

DESCRIPTION

TIFFScanlineSize() returns the size (in bytes) of a row of data as it would be returned in a call to TIFFReadScanline(), or as it would be expected in a call to TIFFWriteScanline().

TIFFStripSize() returns the equivalent size for a strip of data as it would be returned in a call to TIFFReadEncodedStrip() or as it would be expected in a call to TIFFWriteEncodedStrip().

TIFFTileSize() returns the equivalent size for a tile of data as it would be returned in a call to TIFFReadTile() or as it would be expected in a call to TIFFWriteTile().

These sizes are typically used when dynamically allocating I/O buffers.  

DIAGNOSTICS

None.  

SEE ALSO

intro(3T), TIFFOpen(3T), TIFFReadScanline(3T), TIFFReadEncodedStrip(3T), TIFFReadTile(3T), TIFFWriteScanline(3T), TIFFWriteEncodedStrip(3T), TIFFWriteTile(3T)


 

Index

NAME
SYNOPSIS
DESCRIPTION
DIAGNOSTICS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 01:45:57 GMT, February 01, 2023